package cn.edu.scau.cmi.dengshixin.domain;

public class Advisor {
	
	private String stu_id;
	private String stu_name;
	private String tea_id;
	private String tea_name;
	
	public Advisor() {
		setStudentId(null);
		setStudentName(null);
		setTeacherId(null);
		setTeacherName(null);
	}
	
	public Advisor(String stu_id, String tea_id) {
		setStudentId(stu_id);
		setStudentName(null);
		setTeacherId(tea_id);
		setTeacherName(null);
	}
	
	public String getStudentId() {
		return stu_id;
	}
	
	public void setStudentId(String stu_id) {
		this.stu_id = stu_id;
	}
	
	public String getStudentName() {
		return stu_name;
	}

	public void setStudentName(String stu_name) {
		this.stu_name = stu_name;
	}
	
	public String getTeacherId() {
		return tea_id;
	}
	
	public void setTeacherId(String tea_id) {
		this.tea_id = tea_id;
	}

	public String getTeacherName() {
		return tea_name;
	}

	public void setTeacherName(String tea_name) {
		this.tea_name = tea_name;
	}
	
	public String toString() {
		return "[学号：" + stu_id + ", 学生姓名：" + stu_name + ", 工号：" + tea_id + ", 指导教师姓名：" + tea_name + "]\n";
	}
	
}
